import request from '@/utils/request'

//关注、取关
export function follow(userId, type, entityId) {
    return request({
        url: `/follow/updateStatus/${userId}/${type}/${entityId}`,
        method: 'get'
    })
}

//查询关注的实体
export function getFollowed(userId, type) {
    return request({
        url: `/follow/getFollowed/${userId}/${type}`,
        method: 'get'
    })
}